package handle

import (
	"AcsGo/internal/domain"
)

func HandleReaderPhoto(str string) (string, error) {
	readerPhotoRequest, err := domain.ReaderPhoto(str)
	if err != nil {
		return "", err
	}
	lg.Debugf("readerPhotoRequest: %v", readerPhotoRequest)

	queryResponse := domain.InitReaderPhotoReq()
	sb, _ := queryResponse.StringFormat()
	lg.Debugf("success: %v", sb)
	return sb, nil
}
